package com.jgy.juc.number;

/**
 * @author 姜光远
 * @date 2023/3/8 20:11
 */
public class test {
    public static void main(String[] args) {
        Number number = new Number();

        Thread t1 = new Thread(number);

        Thread t2 = new Thread(number);

        t1.setName("窗口一：");

        t2.setName("窗口二：");

        t1.start();
        t2.start();
    }
}
